<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="top.jsp" %>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet"  href="static/css/bootstrap.min.css" />
	<style type="text/css">
		body{
			padding-top:50px;
		
		}
	
	</style>
</head>
<body class="body">
	
	
	
	<div class="container">
	  <div class="row">
	  
	   <!-- 导入左侧部分 -->
		<jsp:include page="side.jsp">
			<jsp:param value="contact" name="tag"/>
		</jsp:include>
		
		<div class="span9">
		 <form class="form-horizontal" action="contact.jspx?m=update&id=${contact.id}" method="post">
	        <fieldset>
	          <legend>编辑联系人</legend>
	          <div class="control-group">
	            <label class="control-label" for="input01">姓名</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01" value="${contact.name}"  name="name" style="height:30px"/>
	            </div>
	          </div>
			   <div class="control-group">
	            <label class="control-label" for="input01">公司</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01" value="${contact.company }" name="company" style="height:30px"/>
	            </div>
	          </div>
			  <div class="line"></div>
			   <div class="control-group">
	            <label class="control-label" for="input01">手机</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01" value="${contact.cellphone }" name="cellphone" style="height:30px"/>
	            </div>
	          </div>
			   <div class="control-group">
	            <label class="control-label" for="input01">固话</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01" value="${contact.phone }" name="phone" style="height:30px"/>
	            </div>
	          </div>
			  <div class="control-group">
	            <label class="control-label" for="input01">邮箱</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01" value="${contact.email }" name="email" style="height:30px"/>
	            </div>
	          </div>
			   <div class="line"></div>
			  <div class="control-group">
	            <label class="control-label" for="input01">地址</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01" value="${contact.address }" name="address" style="height:30px"/>
	            </div>
	          </div>
			   <div class="line"></div>
			   <div class="control-group">
	            <label class="control-label" for="input01">主页</label>
	            <div class="controls">
	              <input type="text" class="span5" id="input01"  value="${contact.website }" name="website" style="height:30px"/>
				  <p class="help-block">http://www.xxx.com</p>
	            </div>
	          </div>
			   <div class="control-group">
	            <label class="control-label" for="input01">微博</label>
	            <div class="controls">
					<select class="span2" name="weibo">
						<option></option>
						<option>新浪微博</option>
						<option>腾讯微博</option>
						<option>Twitter</option>
					</select>
					<div class="input-prepend">
						<span class="add-on">@</span><input class="span2" id="prependedInput" size="16" type="text" value="${contact.weibo }" style="height:30px">
	                </div>
					
            </div>
          </div>
		   <div class="control-group">
            <label class="control-label" for="input01">简介</label>
            <div class="controls">
              <textarea class="span5" rows="6" name="introduction">${contact.introduction }</textarea>
            </div>
          </div>
		
	          <div class="form-actions">
	            <button type="submit" class="btn btn-primary">保存</button>
	            <button class="btn" onclick="location.back()">返回</button>
	          </div>
	        </fieldset>
      </form>          
          	
		</div>
		<div class="span3">
			
		</div>
	  </div>
	</div>
</body>
</html>